package com.kun.crawling.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author kun.li
 */
@Component
@Data
@ConfigurationProperties("data")
public class DataCrawlingProperties {

    private Jd jd;
    /**
     * 类型
     */
    private String type;

    @Data
    public static class Jd {

        private String url;

        private String cookie;
    }
}
